package com.fengke.service;

import java.util.List;

import com.fengke.service.vo.DepartureVO;
import com.fengke.service.vo.DestinationVO;

public interface DivisionService {
	/**
	 * 出发地列表
	 * 
	 * @param departureVO
	 * @param offset
	 * @param limit
	 * @return
	 * @throws Exception
	 */
	List<DepartureVO> researchDepartureVOList(DepartureVO departureVO, int offset, int limit) throws Exception;
	/**
	 * 目的地列表
	 * 
	 * @param destinationVO
	 * @param offset
	 * @param limit
	 * @return
	 * @throws Exception
	 */
	List<DestinationVO> researchDestinationVOList(DestinationVO destinationVO, int offset, int limit) throws Exception;
	DepartureVO createDeparture(DepartureVO departureVO) throws Exception;
	DepartureVO updateDepartureById(DepartureVO departureVO) throws Exception;
	DestinationVO createDestination(DestinationVO destinationVO) throws Exception;
	DestinationVO updateDestinationById(DestinationVO destinationVO) throws Exception;
	void deleteDepartureByIds(List<String> list) throws Exception;
	void deleteDestinationByIds(List<String> list) throws Exception;

}
